﻿namespace ContosoUniversity.Services.AppServices
{
    using System.Collections.Generic;
    using Models;

    public interface IContosoApplicationService
    {
        void AddNewCourse(Course course);
        void DeleteCourse(int id);
        void ModifyCourse(Course course);

        void DeleteDepartment(int departmentID);
        void AddDepartment(Department department);
        void ModifyDepartment(Department department);

        void AddInstructorWithCourses(Instructor instructor, IEnumerable<int> courses);
        void DeleteInstructor(int instructorId);
        void UpdateInstructorAndCourses(Instructor instructorToUpdate, IEnumerable<int> courses);

        void AddStudent(Student student);
        void ModifyStudent(Student student);
        void DeleteStudent(int studentId);

        int UpdateCourseCredits(int multiplier);
    }
}